import { http } from "@/utils/http";
import type { RouteVo } from "@/types/route";
import type { R } from "@/types/api";

export const getAsyncRoutes = () => {
  return http.get<R<RouteVo[]>>("routes/all");
};
